import { MidwayConfig } from '@midwayjs/core';

export default {
  keys: '1X7Au4642a9055Bc_9527',
  koa: {
    port: 7001,
  },
  view: {
    mapping: {
      '.ejs': 'ejs',
    },
  },
  ejs: {async: false}, // ejs config
  staticFile: { // 托管目录设置
    dirs: {
      default: {
        prefix: '/view/',
        dir: 'view/',
      },
    }
  },
} as MidwayConfig;
